#include <cmath>
#include <iostream>
#include "circle.h"

using namespace std;

const double PI = 3.14159;

Circle::Circle(): radius(0) {}

Circle::Circle(double x, double y, double r): Point(x, y)
{
	radius = r;
}

Circle::Circle(const Circle& cir): Point(cir)
{
	radius = cir.radius;
}

double Circle::Area() const
{
	return PI * radius * radius;
}

void Circle::Show() const
{
	Point::Show();
	cout << "radius = " << radius << endl;
}
